package cn.zyl.demo.common.enums;

/**
 * CypherDigestEnum枚举说明:密码枚举-签名算法 by jdk8
 *
 * @author wsz
 * @version v1.0
 * @date 2020-07-29
 */
public enum CypherSignatureEnum {
    /** 签名算法：NONEWITHDSA*/
    NONE_WITH_DSA("NONEWithDSA"),
    /** 签名算法：SHA384WITHECDSA*/
    SHA_384_WITH_EC_DSA("SHA384WithECDSA"),
    /** 签名算法：SHA224WITHDSA*/
    SHA_224_WITH_DSA("SHA224WithDSA"),
    /** 签名算法：SHA256WITHRSA*/
    SHA_256_WITH_RSA("SHA256WithRSA"),
    /** 签名算法：MD5WITHRSA*/
    MD5_WITH_RSA("MD5WithRSA"),
    /** 签名算法：SHA1WITHRSA*/
    SHA1_WITH_RSA("SHA1WithRSA"),
    /** 签名算法：SHA512WITHRSA*/
    SHA_512_WITH_RSA("SHA512WithRSA"),
    /** 签名算法：MD2WITHRSA*/
    MD_2_WITH_RSA("MD2WithRSA"),
    /** 签名算法：SHA256WITHDSA*/
    SHA_256_WITH_DSA("SHA256WithDSA"),
    /** 签名算法：SHA1WITHECDSA*/
    SHA_1_WITH_EC_DSA("SHA1WithECDSA"),
    /** 签名算法：MD5ANDSHA1WITHRSA*/
    MD_5_AND_SHA_1_WITH_RSA("MD5AndSHA1WithRSA"),
    /** 签名算法：SHA224WITHRSA*/
    SHA_224_WITH_RSA("SHA224WithRSA"),
    /** 签名算法：NONEWITHECDSA*/
    NONE_WITH_EC_DSA("NONEWithECDSA"),
    /** 签名算法：NONEWITHRSA*/
    NONE_WITH_RSA("NONEWithRSA"),
    /** 签名算法：SHA256WITHECDSA*/
    SHA_256_WITH_EC_DSA("SHA256WithECDSA"),
    /** 签名算法：SHA224WITHECDSA*/
    SHA_224_WITH_EC_DSA("SHA224WithECDSA"),
    /** 签名算法：SHA384WITHRSA*/
    SHA_384_WITH_RSA("SHA384WithRSA"),
    /** 签名算法：SHA512WITHECDSA*/
    SHA_512_WITH_EC_DSA("SHA512WithECDSA"),
    /** 签名算法：SHA1WITHDSA*/
    SHA_1_WITH_DSA("SHA1WithDSA"),
    ;
    CypherSignatureEnum(String name){ this.name = name; }
    public String getName() { return name; }
    private final String name;
}
